QuickTime 3 Reference

| Previous | Chapter Contents | Chapter Top | Next |

Registering Graphics Importer Components

Graphics importer components have component type `grip' . The interpretation of the subtype depends on the movieImportSubTypeIsFileExtension component flag. If this flag is clear, the subtype is a Macintosh file type. If this flag is set, the subtype is a file name suffix; it should be in uppercase and followed by space characters to pad it out to four characters. For instance, the file name suffix ".png" would be represented by the subtype `PNG ' .

It is often useful to register graphics importer components multiple times, so that both the file type and file name suffix may be matched. An efficient way to do this is to register the second and subsequent components as component aliases to the first. For more information about component aliases, see "Component Manager."

Graphics importer components that use the generic importer's Draw method should set the graphicsImporterUsesImageDecompressor flag in their component flags.


© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |